FROM mysql:8.0.22

MAINTAINER muwenbin <1007821300@qq.com>

#RUN copy /etc/mysql/my.cnf /etc/mysql/my.cnf_bak
COPY ./my.cnf /etc/mysql/my.cnf
RUN mkdir -p /mysql/data
RUN mkdir -p /mysql/tmp

COPY ./schema.sql /docker-entrypoint-initdb.d/schema.sql
